package com.psp.sp.controller.springmvc.req;


import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

/**
 * 手机找回密码
 **/
public class FindPwdByPhoneParam {
	@NotEmpty(message = "手机号不能为空")
	@Pattern(regexp = "^(1)\\d{10}$", message = "手机号格式不正确！")
	private String phone; // 手机或邮箱
	@NotEmpty(message = "密码不能为空")
	private String pwd; // 设置新密码
	@NotEmpty(message = "密码不能为空")
	private String conformPwd; // 确认密码

	public void setPhone(String phone) {
 		this.phone = phone;
	}

	public String getPhone() {
 		return phone;
	}

	public void setPwd(String pwd) {
 		this.pwd = pwd;
	}

	public String getPwd() {
 		return pwd;
	}

	public void setConformPwd(String conformPwd) {
 		this.conformPwd = conformPwd;
	}

	public String getConformPwd() {
 		return conformPwd;
	}

}
